package com.fhz.day005.repostroy;

import com.fhz.day005.entity.Food;
import com.fhz.day005.model.FoodModel;

import io.reactivex.Observer;

/**
 * 时间:2022/5/23
 *
 * @author msfeng
 * 简述: TODO
 */
public class FoodRepostroy {

    private FoodModel foodModel;

    public FoodRepostroy(FoodModel foodModel) {
        this.foodModel = foodModel;
    }

    public void getFood(Observer<Food> observer){
        foodModel.getFood(observer);
    }
}

